package com.xzhuang.task.quartz;

import java.util.Collection;

import org.quartz.Scheduler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.config.Task;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;

public class LoadTask {

	@Autowired
	private SchedulerFactoryBean schedulerFactoryBean;
	public void initTask() throws Exception {
		Scheduler scheduler = schedulerFactoryBean.getScheduler();
	}
}
